#carrousel
  -if @carousel_list.length > 0
    .swiper-container
      .swiper-wrapper
        -@carousel_list.each do |carousel|
          .swiper-slide
            .img_container
              -if carousel.event_mark == 0
                %a{:href => "javascript:void(0);"}
                  = image_tag carousel.full_avatar_url
              -elsif carousel.event_mark == 1
                %a{:href => "javascript:product_show('#{carousel.event_memo}');"}
                  = image_tag carousel.full_avatar_url
              -elsif carousel.event_mark == 2
                %a{:href => "/carousel/promotion_index?off_promotion_id=#{carousel.event_memo}"}
                  = image_tag carousel.full_avatar_url
              -elsif carousel.event_mark == 3
                %a{:href => "/carousel/group_index?product_group_id=#{carousel.event_memo}"}
                  = image_tag carousel.full_avatar_url
              -else
                %a{:href => "javascript:void(0);"}
                  = image_tag carousel.full_avatar_url
      .swiper-pagination